import request from '../utils/fetch'
export function getAdminShopList (data) {
  return request({
    url: '/admin/shop/getAdminShopList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function addShop (data) {
  return request({
    url: '/admin/shop/addShop',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function updateStatus (data) {
  return request({
    url: '/admin/brand/changeBrandState',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function getAdminShopCount (data) {
  return request({
    url: '/admin/shop/getAdminShopCount',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function getAdminShopInfo (data) {
  return request({
    url: '/admin/shop/getAdminShopInfo',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function editShopInvoice (data) {
  return request({
    url: '/admin/shop/editShopInvoice',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}

export function editShop (data) {
  return request({
    url: '/admin/shop/editShop',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
